function index() {
    app.call(this);
    
    require([this.baseUrl+'js/include/nav.min.js'], function (nav){
        nav.init();
　　});
    this.initSwiper();
}

//初始化轮播图
index.prototype.initSwiper = function(){
    var mySwiper = new Swiper('.swiper-container', {
        autoplay: 5000,//可选选项，自动滑动
        loop : true,
        pagination : '.swiper-pagination'
    })
}

$(function() {
    new index();
});